package com.example.demo.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ljh
 * @create 2019/7/26
 * @describe
 */
@Mapper
public interface BaseMapper {
    @Insert("insert into base(age,name) value (#{age},#{name})")
    void insert(@Param("age")Integer age,@Param("name")String name);
}
